package vn.edu.saigontech.ncms.service;

import java.util.List;

import vn.edu.saigontech.ncms.model.bookstore.Item;
import vn.edu.saigontech.ncms.model.bookstore.ItemType;
import vn.edu.saigontech.ncms.model.program.Level;
import vn.edu.saigontech.ncms.model.program.Program;
import vn.edu.saigontech.ncms.service.impl.ItemServiceImpl;

public interface ItemService extends GenericService<Item, Long> {
	static final ItemService INSTANCE = new ItemServiceImpl();
	
	List<Item> filter(Program program, ItemType type);
	
	List<Item> findByType(ItemType type);

	List<Item> findByTitleId(Long titleId);
	
	Item findByItemId(String itemId);
	
	List<Item> findByLevel(Level level);
}